home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SCVS User Commands SCVS
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- scvs - Sprite Concurrent Version System
-
- SSYYNNOOPPSSIISS
- ssccvvss [_s_c_v_s__o_p_t_i_o_n_s] [_c_v_s__o_p_t_i_o_n_s] _c_o_m_m_a_n_d [_c_o_m_m_a_n_d__o_p_t_i_o_n_s]
- [_c_o_m_m_a_n_d__a_r_g_s]
-
- OOPPTTIIOONNSS
- --VV Print out verbose status messages during pro-
- cessing.
-
- --DD Print out debugging information.
-
- --hheellpp Print a summary of the command-line options
- and exit without updating any targets.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- SSccvvss is a front end to the ccvvss source control system, which
- in turn is turn a front end for rrccss. It would probably help
- to be familiar with both ccvvss and rrccss before dealing with
- ssccvvss. SSccvvss has the following features in addition to those
- of ccvvss and rrccss:
-
- o+ A configuration file is used to specify the root of the
- ccvvss repository, rather than an environment variable or
- a command line option.
-
- o+ SSccvvss keeps track of who has copies of which modules.
- When you check out a module ssccvvss will tell you about
- other copies of the same module you might have, and
- about other users that have copies of the module. This
- allows users to coordinate their modifications to a
- module.
-
- o+ Changes to several modules can be committed simultane-
- ously.
-
- o+ SSccvvss remembers the options used to checkout a module,
- so that subsequent updates of the module use the same
- options, thus guaranteeing that the same version of the
- module is updated.
-
- o+ SSccvvss has limited support for symbolic links. When a
- module is checked into the repository any symbolic
- links it contains are stored in a file called
- _S_C_V_S/_l_i_n_k_s. When a module is checked out its symbolic
- links are created from the contents of _S_C_V_S/_l_i_n_k_s.
-
-
-
-
-
- Sprite v.1.0 Printed: October 29, 1991 1
-
-
-
-
-
-
- SCVS User Commands SCVS
-
-
-
- CCOOMMMMAANNDDSS
- Each invocation of ssccvvss must specify a particular command to
- be performed. Most of these commands are slight variations
- on the corresponding ccvvss commands.
-
- aadddd [--mm '_m_e_s_s_a_g_e'] _f_i_l_e_s...
- Create a new file or directory in the repository.
- Files are not actually added to the repository until a
- ccoommmmiitt command is issued. See the ccvvss man page for more
- details.
-
- cchheecckkoouutt [--QQqqllnnffPPii] [--cc] [--rr _t_a_g | --DD _d_a_t_e] _m_o_d_u_l_e_s...
- Retrieves copies of the specified modules from the
- repository. For each module a subdirectory with the
- module's name is made in the current directory and the
- module's source tree is put in the subdirectory. The
- default is to check out the most recent version of the
- module, although a particular version can be checked
- out by using either the --rr or --DD options, which will
- check out a version matching the given tag or date,
- respectively. The semantics of the ssccvvss checkout com-
- mand differ from ccvvss's in that empty directories are
- pruned unless the --PP option is given. Empty direc-
- tories usually occur if you check out a version of a
- module from before a directory was created. The --QQ and
- --qq options cause varying degrees of quietness, and the
- --ll option causes the command to not be recursive. The
- cchheecckkoouutt command will tell you of other copies of the
- module that you might have, and about other users that
- have copies of the module. If you are checking out a
- version to go off on your own and make changes that
- will never be checked back in, then you should use the
- -_i option. You will not be listed as having an offi-
- cial copy of the module, so other people will not be
- told that you have a copy. Everything else works the
- same, however. ccoo can be used as an abbreviation for
- cchheecckkoouutt.
-
- [_f_i_l_e_s...]
- ccoommmmiitt [--ffnnll] [--mm '_l_o_g__m_e_s_s_a_g_e'] [--rr _r_e_v_i_s_i_o_n] [_m_o_d_u_l_e_s...]
- The ccoommmmiitt command is used to check in the changes made
- to your copies of modules. If no modules are specified
- then the current directory is checked in. SSccvvss differs
- from ccvvss in that multiple modules can be checked in
- simultaneously, and that commit is recursive. SSccvvss
- achieves this by locking all modules, verifying that
- they are up-to-date with the sources in the repository,
- then committing the changes. SSccvvss will also update a
- snapshot or installed copy of the sources as indicated
- in the _S_C_V_S._c_o_n_f_i_g file (see FFIILLEESS section below). The
- --ff option allows you to commit files that do not con-
- tain the RCS $Id or $Header keywords. The --rr sets the
-
-
-
- Sprite v.1.0 Printed: October 29, 1991 2
-
-
-
-
-
-
- SCVS User Commands SCVS
-
-
-
- RCS version number, and the --nn option causes any commit
- command in the module database to not be run. If the --mm
- option is not specified than an editor will be invoked
- to allow you to enter the log message. ccii can be used
- as an abbreviation for ccoommmmiitt.
-
- ddiiffff [--llRR] [_r_c_s_d_i_f_f__o_p_t_i_o_n_s] [_f_i_l_e_s...]
- Same as for ccvvss. Runs rrccssddiiffff on the specified files,
- or on only those files that you have changed. DDiiffff is
- recursive unless the --ll option is specified. If no
- options are given ddiiffff will print out the differences
- between your copy of the file and the copy you checked
- out, i.e. it prints the changes you made to the file.
- If the --RR option is given then the differences between
- your copy of the file and the current version is given.
- This is useful if your copy is out-of-date and you want
- to see what changed. See the rrccssddiiffff man page for more
- details on the options.
-
- ddoonnee [--dd] _m_o_d_u_l_e_s...
- When you have finished with a module you should use the
- ddoonnee command, so that ssccvvss can update its database of
- module copies. If the --dd option is given then your
- copy of the module will be deleted. If your copy
- differs from the repository ssccvvss will ask you whether
- or not you are really done. Make sure you really,
- truly are done before running this command, particu-
- larly with the --dd option.
-
- iinnffoo [--ll] [_f_i_l_e_s...]
- Prints out status information about your sources. Out-
- put is the same as for the uuppddaattee command. IInnffoo is
- recursive unless the --ll option is given.
-
- jjooiinn [--QQqqff] [--rr _t_a_g | --DD _d_a_t_e] _f_i_l_e_s...
- Same as for ccvvss. Used to merge in a new vendor release
- of a software package. See the ccvvss man page for
- details.
-
- lloocckk [--rrww] [_m_o_d_u_l_e_s...]
- Each ssccvvss command locks the module in the repository
- before mucking around with it, thus preventing con-
- current ssccvvss commands from creating chaos. If you wish
- to run several ssccvvss commands without allowing other
- users to run commands inbetween you can use lloocckk. A
- common example is committing your changes to a module.
- If you don't lloocckk the module first there are potential
- races between the time you update your sources and the
- time you commit them, and between the time you commit
- them and update the installed copy. To prevent these
- races you should lloocckk any modules you want to commit,
- then run any ccoommmmiitt commands, verify that the installed
-
-
-
- Sprite v.1.0 Printed: October 29, 1991 3
-
-
-
-
-
-
- SCVS User Commands SCVS
-
-
-
- sources are correct, then uunnlloocckk the modules. The --ww
- option creates a write lock (the default), so that you
- have exclusive access to the module. The --rr option
- creates a read lock, allowing other users to read the
- module but not modify it. See the uunnlloocckk command
- below.
-
- lloogg [--ll] [_r_l_o_g__o_p_t_i_o_n_s] [_f_i_l_e_s...]
- Same as for ccvvss. Does an rrlloogg on the specified files,
- or on every file in the current directory. LLoogg is
- recursive unless the --ll option is specified. See the
- ccvvss man page for details.
-
- ppaacckk [--ll] [_d_i_r_s...]
- The pack command is used to put entries for all sym-
- bolic links in the given directories (or the current
- directory) into the file _S_C_V_S/_l_i_n_k_s (see FFIILLEESS section
- below). This file can then be used later by the uunnppaacckk
- command to recreate the symbolic links. The ppaacckk com-
- mand is run implicitly during a ccoommmmiitt, and is not usu-
- ally invoked explicitly. PPaacckk is recursive, unless
- the --ll option is given.
-
- _m_o_d_u_l_e_s...
- ppaattcchh [--QQqqllff] [--ss|--tt] [--rr _t_a_g|--DD _d_a_t_e [--rr _t_a_g|--DD _d_a_t_e]]
- Same as for ccvvss. Creates a ppaattcchh file between the two
- versions of the modules. See the ccvvss man page for
- details.
-
- rreemmoovvee _f_i_l_e_s...
- Same as for ccvvss. Removes the specified files from the
- repository. The files are not actually deleted until
- the current module is ccoommmmiittted. See the ccvvss man page
- for details.
-
- ssttaattuuss [--ll] [_f_i_l_e_s...]
- Same as for ccvvss. Prints out the rrccss version in your
- copy of the file and the current rrccss version of the
- file in the repository. SSttaattuuss is recursive unless the
- --ll option is specified. See the ccvvss man page for
- details.
-
- ttaagg [--QQqqllffnn] [--dd] [--rr _t_a_g|--DD _d_a_t_e] _s_y_m_b_o_l_i_c__t_a_g _m_o_d_u_l_e_s...
- Same as for ccvvss. Assigns a symbolic tag name to the
- given (or current) version of the sources in the repo-
- sitory. See the ccvvss man page for details.
-
- uunnlloocckk [--aa] [_m_o_d_u_l_e_s...]
- Removes any locks you have on the modules. If the --aa
- option is given then all locks on the module are
- removed. See the lloocckk command above.
-
-
-
-
- Sprite v.1.0 Printed: October 29, 1991 4
-
-
-
-
-
-
- SCVS User Commands SCVS
-
-
-
- uunnppaacckk [--ll] [_d_i_r_s...]
- Creates symbolic links in the specified directories (or
- the current directory) from the contents of the
- SCVS.links file. The uunnppaacckk command is run implicitly
- during a cchheecckkoouutt or uuppddaattee, and is not usually invoked
- explicitly. UUnnppaacckk is recursive, unless the --ll option
- is given.
-
- [[_f_i_l_e_s...]]
- uuppddaattee [--QQqqllffppBB] [--ee _d_i_r]] [[--dd]] [[--rr _t_a_g||--
- DD _d_a_t_e]] [[_m_o_d_u_l_e_s...]]
- The update command is used to make your copies of
- modules up-to-date with the sources in the repository.
- The default behavior is to bring your copy up-to-date
- with the version that was checked out, although this
- can be modified with the --rr or --DD options. You will
- have to specify these options to subsequent uuppddaattee com-
- mands if you wish to continue to use a different ver-
- sion than the one that was checked out. UUppddaattee is
- recursive by default, but this can be overridden by the
- --ll option. The --BB option will cause uuppddaattee to not
- update your sources with any new directories in the
- repository. The default behavior is to do so (this
- differs from ccvvss). See the ccvvss man page for more
- details on the algorithm used by uuppddaattee and for an
- explanation of its output.
-
- wwhhoo [_m_o_d_u_l_e_s...]
- Prints out the names of users who have checked out
- copies of the modules.
-
- FFIILLEESS
- SSCCVVSS..ccoonnffiigg
- When ssccvvss is invoked it works its way up the directory
- tree looking for the file SSCCVVSS..ccoonnffiigg. The first one
- that is found is used. The SSCCVVSS..ccoonnffiigg file has the
- following format. A blank line or a line beginning
- with '#' is ignored. A line beginning with ccvvssrroooott::
- specifies the pathname of the ccvvss root directory. The
- following is a sample SCVS.config file for the Sprite
- kernel sources.
-
- cvsroot: /sprite/src/kernel/Cvsroot
- installdir: /sprite/src/kernel
-
-
- SSCCVVSS//aarrggss
- This file is created by the cchheecckkoouutt command, and is
- put in the top-level subdirectory of a module copy. It
- contains the arguments passed to the cchheecckkoouutt command,
- so that subsequent uuppddaattee commands use the correct ver-
- sion of the sources.
-
-
-
- Sprite v.1.0 Printed: October 29, 1991 5
-
-
-
-
-
-
- SCVS User Commands SCVS
-
-
-
- SSCCVVSS//lliinnkkss
- The SSCCVVSS//lliinnkkss file contains information about symbolic
- links in the module sources. Each line is of the form
- "_l_i_n_k_N_a_m_e _t_a_r_g_e_t", where _l_i_n_k_N_a_m_e is the name of the
- symbolic link to be created, and _t_a_r_g_e_t is the file to
- which the link points. SSCCVVSS//lliinnkkss is created by the
- ppaacckk and ccoommmmiitt commands, and read by the cchheecckkoouutt and
- uuppddaattee commands. Each subdirectory of a module has its
- own SSCCVVSS//lliinnkkss file.
-
- SSCCVVSS//uusseerrss
- The SSCCVVSS//uusseerrss file exists in each module in the repo-
- sitory and contains information about the users who
- have the module checked out. Each line is of the form:
- "_u_s_e_r _p_a_t_h _d_a_t_e", where _u_s_e_r is the name of the user
- who has the module checked out, _p_a_t_h is the pathname of
- their copy of the module, and _d_a_t_e is the time when the
- copy was checked out.
-
- SSCCVVSS//lloocckkss
- Exists in the module directory in the repository and
- contains a list of locks on the module. Each line is
- of the form "_t_y_p_e _u_s_e_r _d_a_t_e", where _t_y_p_e is one of _r or
- _w, _u_s_e_r is the login name of the lock owner, and _d_a_t_e
- is the time the lock was created.
-
- SSEEEE AALLSSOO
- rrccss(1), ccii(1), ccoo(1), rrccssddiiffff(1), ppaattcchh(1), rrccssmmeerrggee(1),
- rrlloogg(1), ccvvss(1)
-
- KKEEYYWWOORRDDSS
- source control, rcs, cvs
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: October 29, 1991 6
-
-
-
-